Skip to content

Fix Mermaid diagram rendering in ch07-1#62

Merged
atulkhare4096 merged 1 commit into
microsoft:mainfrom
WuXing-ovo:fix/lifetime-flowchart
Mar 29, 2026
Merged

Fix Mermaid diagram rendering in ch07-1#62
atulkhare4096 merged 1 commit into
microsoft:mainfrom
WuXing-ovo:fix/lifetime-flowchart

Conversation

@WuXing-ovo
Copy link
Copy Markdown
Contributor

Problem:

  • Mermaid flowchart nodes had text truncation issues
  • Some code examples were not fully visible

Solution:

  • Added line breaks (
    ) to distribute content across multiple lines
  • Reduced node width by reformatting long lines

Changes:

  • Lines 182-196 in c-cpp-book/src/ch07-1-lifetimes-and-borrowing-deep-dive.md

Before:
image

After:
image

@atulkhare4096 atulkhare4096 merged commit 2d6e6b5 into microsoft:main Mar 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants